<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Util\SqlServerUtil;
use Cookie;

class IndexController extends Controller
{

    protected $response = [
        "code" => 200,
        "message" => "接口请求成功",
        "result" => []
    ];

    protected $SqlServer = null;

    public function __construct(Request $request){
        $temp = SqlServerUtil::getModel($request);
        if($temp){
            $this->SqlServer = $temp['SqlServer'];
        }
    }
    public function index()
    {
        //dd(123);
        return view('index');
    }
    public function index2()
    {
        dd(222);
        return view('index');
    }
}
